import { createApp } from 'vue'
import {createPinia} from 'pinia'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import '@/style/index.css'
import '@/assets/iconfont/iconfont.js'
import SvgIcon from '@/components/icons/SvgIcon.vue'

const app = createApp(App)
const pinia = createPinia()

app.use(router)
app.use(ElementPlus)
app.use(pinia)
app.component('SvgIcon',SvgIcon)
app.mount('#app')
